package com.siwei.mes.mapper;

import com.siwei.mes.entity.Laboratory;
import com.siwei.mes.common.base.BaseMapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * (Laboratory)表数据库访问层
 *
 * @author dmwang
 * @since 2024-06-11 11:07:53
 */
public interface LaboratoryMapper extends BaseMapper<Laboratory>{
    /**
     * 获取所有
     *
     * @param entity
     * @return
     */
    List<Laboratory> getList(Laboratory entity);
    
     /**
     * 根据id获取
     *
     * @param id
     * @return
     */
    Laboratory loadById(@Param("id") Long id);
}
